package com.kzj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.util.DigestUtils;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
@EnableTransactionManagement
@ServletComponentScan
@SpringBootApplication
@MapperScan("com.kzj.dao")
@EnableAspectJAutoProxy(exposeProxy = true)//暴露代理对象，需要导包org.aspectj.aspectjweaver
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class);
        String s = DigestUtils.md5DigestAsHex("1234".getBytes());
        System.out.println(s);
    }

}
